package day0428.com.ch16threeLayer.dao;/**
 * 作者：wangmaokang
 * 日期: 2021/4/28 9:59
 * 描述:
 */

import day0428.com.ch16threeLayer.entity.User;

import java.util.List;

/**
 * @description:
 * @author: wangmaokang
 * @email：449086935@qq.com
 * @time: 2021/4/28 9:59
 */
public interface IUserDao {
    User login(String name, String passWord);

    User getUserById(int id);

    List<User> getAllUsers();

    void addUser(User user);

    void deleteUserById(int id);

}
